package com.atguigu.service.impl;

import com.atguigu.dao.OrderItemDao;
import com.atguigu.dao.impl.OrderItemDaoImpl;
import com.atguigu.pojo.Order;
import com.atguigu.pojo.OrderItem;
import com.atguigu.service.OrderItemService;

import java.util.List;

public class OrderItemServiceImpl implements OrderItemService {
    OrderItemDao orderItemDao=new OrderItemDaoImpl();
    @Override
    public List<OrderItem> showOrderDetail(String orderId) {
        List<OrderItem> orderItems=orderItemDao.queryOrderItemsByOrderId(orderId);
        return orderItems;
    }
}
